class CPU:
    def calculate(self):
        print('calculating...')

class Screen:
    def show(self):
        print('show infomation...')

class MobilePhone:
    def __init__(self, cpu:CPU, sc:Screen):
        self.cpu = cpu
        self.screen = sc

c = CPU()
s = Screen()
m = MobilePhone(c, s)
m.cpu.calculate()
m.screen.show()